#ifndef __GATE_H__
#define __GATE_H__

class PacketDecoder;

class Gate
{
public:
	//Gate();
	Gate(UInt32 socket_id);
	virtual ~Gate();
	void SetSocketId(UInt32 socket_id){m_nSocketId = socket_id;};
	UInt32 GetSocketId(){ return m_nSocketId;};

	void SetRemoteIp(const std::string& strIp){m_strRemoteIp = strIp;}
	std::string GetRemoteIp(){ return m_strRemoteIp;}

public:
	std::string		m_strRemoteIp;

private:
	UInt32			m_nSocketId;
};
#endif